// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import Layout from '@/layout'

const activityRouter = {
  path: '/activity',
  component: Layout,
  redirect: '/activity/index',
  name: 'Activity',
  meta: {
    title: '村级活动管理',
    icon: 'clipboard',
    //roles: ['admin'] //系统设置和部门管理只有超级管理员有权限
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/activity/index'),
      name: 'ActivityIndex',
      meta: { title: '活动管理', icon: '' }
    },
    {
      path: 'enlist',
      component: () => import('@/views/activity/enlist/index'),
      name: 'enlist',
      meta: { title: '报名信息管理', icon: '' }
    },
  ]
}

export default activityRouter  //collate
